﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuTouTiaoAssist
{
    public partial class FrmInputInterval : FrmOkCancelBase
    {
        public TimeSpan Interval = TimeSpan.Zero;

        public FrmInputInterval()
        {
            InitializeComponent();
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            this.Interval = new TimeSpan(
                this.dateTimePicker1.Value.Hour,
                this.dateTimePicker1.Value.Minute,
                this.dateTimePicker1.Value.Second);

            this.DialogResult = DialogResult.OK;
        }
    }
}
